package HLLib.social;

import HLCode.HLClass;
import HLCode.HLClassManager;
import HLCode.HLClassManager_H;
import HLCode.HLLibObject;
import HLCode.HLObject;
import HLLib.base.HLString;

public class HL3rdPartyFriend extends HLLibObject {
    public HLClass GetClass(HLClassManager classManager) {
        return classManager.GetLibClass(HLClassManager_H.CLASS_GROUP_TYPE_LIB_SOCIAL, HLClassManager_H.LIB_CLASS_SOCIAL_3rdPartyFriend);
    }

    public HLObject GetObject(int index) {
        switch (index) {
        case 0: {
            return playerId;
        }
        case 1: {
            return name;
        }
        }
        return null;
    }

    public void SetObject(int index, HLObject value) {
        switch (index) {
        case 0: {
            playerId = (HLString) value;
            return;
        }
        case 1: {
            name = (HLString) value;
            return;
        }
        }
    }

    public HLString playerId = new HLString("abc");

    public HLString name = new HLString("hanmeimei");
}
